package com.huaxin.hxcloud.frendcircles;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.huaxin.common.frendcircle.widgets.CommentListView;
import com.huaxin.common.message.view.CircleImageView;
import com.huaxin.common.view.avatarimageview.AvatarImageView;
import com.huaxin.hxcloud.R;


/**
 * Created by yiw on 2016/8/16.
 */
public class CircleViewHolder extends RecyclerView.ViewHolder {

    public AvatarImageView headIv;
    public TextView        nameTv;
    /**
     * 动态的内容
     */
    public TextView        contentTv;
    public TextView        timeTv;
    public TextView        deleteBtn;
    public ImageView       snsBtn;
    public ImageView       zanTv;
    public LinearLayout    layout;

    /**
     * 评论列表
     */
    public CommentListView commentList;

    public CircleViewHolder(View itemView) {
        super(itemView);
        headIv = (AvatarImageView) itemView.findViewById(R.id.headIv);
        nameTv = (TextView) itemView.findViewById(R.id.nameTv);
        contentTv = (TextView) itemView.findViewById(R.id.contentTv);
        timeTv = (TextView) itemView.findViewById(R.id.timeTv);
        deleteBtn = (TextView) itemView.findViewById(R.id.deleteBtn);
        snsBtn = (ImageView) itemView.findViewById(R.id.snsBtn);
        commentList = (CommentListView) itemView.findViewById(R.id.commentList);
        zanTv = (ImageView) itemView.findViewById(R.id.find_zan);
        layout = (LinearLayout) itemView.findViewById(R.id.cirlce_ll);
    }


}
